package com.atguigu.spzx.cart.service;

import com.atguigu.spzx.model.entity.h5.CartInfo;

import java.util.List;

/**
 * @author syh
 * @create 2023-09-02 11:15
 */
public interface CartService {
    void addToCart(Long skuId, Integer count);

    List<CartInfo> cartList();

    void checkCart(Long skuId, Integer status);

    void allCheckCart(Integer status);

    void deleteCartInfo(Long skuId);

    void clearCart();

    List<CartInfo> getAllCheckedCartInfo();

    void deleteCheckedCartInfo();

//    List<CartInfo> getCartList();
}
